package com.qianfeng.mybatis.pojo;


public class Categories {

  private long id;
  private String categoryname;
  private String txcommand;
  private String rxcommand;
  private String commandname;
  private long status;

  private Devices devices;

  public Devices getDevices() {
    return devices;
  }

  public void setDevices(Devices devices) {
    this.devices = devices;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getCategoryname() {
    return categoryname;
  }

  public void setCategoryname(String categoryname) {
    this.categoryname = categoryname;
  }


  public String getTxcommand() {
    return txcommand;
  }

  public void setTxcommand(String txcommand) {
    this.txcommand = txcommand;
  }


  public String getRxcommand() {
    return rxcommand;
  }

  public void setRxcommand(String rxcommand) {
    this.rxcommand = rxcommand;
  }


  public String getCommandname() {
    return commandname;
  }

  public void setCommandname(String commandname) {
    this.commandname = commandname;
  }


  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }

  @Override
  public String toString() {
    return "Categories{" +
            "id=" + id +
            ", categoryname='" + categoryname + '\'' +
            ", txcommand='" + txcommand + '\'' +
            ", rxcommand='" + rxcommand + '\'' +
            ", commandname='" + commandname + '\'' +
            ", status=" + status +
            ", devices=" + devices +
            '}';
  }
}
